package com.cosytek.farmmanager;

import android.app.Application;
import android.content.Context;

/**
 * Created by Happy on 2015/3/29.
 */
public class FarmManagerApp  extends Application {

    private static Context context;

    public void onCreate(){
        super.onCreate();
        FarmManagerApp.context = getApplicationContext();
    }

    public static Context getAppContext() {
        return FarmManagerApp.context;
    }
}
